package jp.yvn.game.shooting.logic;

import java.util.ArrayList;

import jp.yvn.game.shooting.element.BaseBulletEntity;
import jp.yvn.game.shooting.element.BaseEnemyEntity;
import jp.yvn.game.shooting.element.MainCharactorEntity;
import jp.yvn.game.shooting.schedule.BaseStageSchedule;
import android.content.Context;
import android.graphics.Canvas;

/**
 * Nomal mode Stage1のｽｹｼﾞｭｰﾙｸﾗｽです
 * 
 * @author Yvn_pq
 */
public class StageLogic {

	/** 敵ﾘｽﾄ */
	public static ArrayList<BaseEnemyEntity> enemyList = new ArrayList<BaseEnemyEntity>();

	/** 弾幕ﾘｽﾄ */
	public static ArrayList<BaseBulletEntity> bulletList = new ArrayList<BaseBulletEntity>();

	private final BaseStageSchedule mStageSchedule;

	public StageLogic(Context context, BaseStageSchedule stgSche) {
		mStageSchedule = stgSche;
	}

	/**
	 * 描画します
	 * 
	 * @param canvas
	 */
	public void draw(Canvas canvas) {
		// for (int i = 0; i < mEnemyList.size(); i++) {
		// mEnemyList.get(i).draw(canvas);
		// }
		mStageSchedule.draw(canvas);

	}

	public void update(MainCharactorEntity mainChara) {
		// 接触判定
		// 不要なオブジェクト削除

	}

}
